package com.yj.common.mapper;

import com.yj.inventory.dto.InventoryListDto;
import com.yj.inventory.entity.Inventory;
import com.yj.oa.entity.system.OAContract;
import com.yj.config.mybatis.pagination.Page;
import com.yj.contract.dto.ContractListDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface PaginationMapper {

    Page<OAContract> getContractList(ContractListDto contractListDto);

    Page<Inventory> getInventoryList(InventoryListDto inventoryListDto);
}
